home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 10d1.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.6 KB  |  59 lines

  1. on startMovie
  2.   global qtChan, gCursorReady, gKnobSprite
  3.   puppetSprite(46, 1)
  4.   sprite(9).visibility = 0
  5.   qtChan = 11
  6.   sprite(qtChan).volume = 256
  7.   preLoad(qtChan - 1)
  8.   set the mouseDownScript to EMPTY
  9.   set the mouseUpScript to EMPTY
  10.   gKnobSprite = 26
  11.   setUpKnob()
  12. end
  13.  
  14. on idle
  15.   global gCursorReady
  16.   if gCursorReady = 1 then
  17.     cursor(200)
  18.     checkCursors()
  19.     set the locH of sprite 46 to the mouseH
  20.     set the locV of sprite 46 to the mouseV
  21.     updateStage()
  22.   end if
  23. end
  24.  
  25. on checkCursors
  26.   global gMagCursor
  27.   set the castNum of sprite 46 to the number of member "curs1"
  28.   if rollOver(5) then
  29.     set the castNum of sprite 46 to the number of member "hotCursor"
  30.   end if
  31.   if the castNum of sprite 7 and rollOver(7) then
  32.     set the castNum of sprite 46 to the number of member "deMagCursor"
  33.   end if
  34.   if the castNum of sprite 10 and rollOver(10) then
  35.     set the castNum of sprite 46 to the number of member "MagCursor"
  36.   end if
  37.   repeat with i = 11 to 13
  38.     if rollOver(i) then
  39.       set the castNum of sprite 46 to the number of member "hotCursor"
  40.     end if
  41.   end repeat
  42.   if rollOver(25) then
  43.     set the castNum of sprite 46 to the number of member "hotCursor"
  44.   end if
  45.   repeat with i = 33 to 35
  46.     if rollOver(i) then
  47.       set the castNum of sprite 46 to the number of member "hotCursor"
  48.     end if
  49.   end repeat
  50.   if rollOver(38) then
  51.     set the castNum of sprite 46 to the number of member "hotCursor"
  52.   end if
  53.   repeat with i = 40 to 43
  54.     if rollOver(i) then
  55.       set the castNum of sprite 46 to the number of member "hotCursor"
  56.     end if
  57.   end repeat
  58. end
  59.